FUNCTION
parse_account_ids_from_gtv
function parse_account_ids_from_gtv(gtv: gtv): (allowlist: allowlist, require_same: boolean)Reads a GTV-encoded moduleArgs field containing account IDs.
Throws "CONFIG ERROR" if the config cannot be parsed. Common cases are:
- a list of values is received, alongside which
CURRENT_ACCOUNT_REForANY_REFare found - IDs cannot be parsed as hex
byte_arrays
Parameters
- gtv — the GTV-encoded configuration to parse
© 2024 Chromia